/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ivanbiz.buku;

import java.util.List;

/**
 *
 * @author User
 */
public interface BukuService {
    public void saveBuku(Buku buku)throws Exception;
    public void deleteBuku(Buku buku)throws Exception;
    public void updateBuku(Buku buku)throws Exception;
    public List loadAll()throws Exception;
    public Buku loadById(long id)throws Exception;
    public boolean cekIsEmptyKode(String kode) throws Exception;
    public boolean cekFlagBuku(String kode,String flag)throws Exception;
    public Buku loadByKode(String kode)throws Exception;
    public List cariBuku(String nama,String flag)throws Exception;
    
}
